/*******************************************************************************
 * Package: com.hngtrust.iir.report.service
 * Type:    reportRightService
 * Date:    2021/9/14 13:58
 *
 * Copyright (c) 2021 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.report.service;

import com.hngtrust.iir.report.controller.dto.ReportRightUpadteVO;
import com.hngtrust.iir.report.dto.ReportRightUserOrDepartDTO;
import com.hngtrust.iir.report.controller.dto.ReportRightUserOrDepartVO;
import com.hngtrust.iir.report.controller.dto.ReportRightVO;
import com.hngtrust.iir.report.dto.ReportRightDTO;
import com.hngtrust.iir.report.controller.dto.ReportRightQueryVO;
import java.util.List;

/**
 * 内部研报-研报权限表
 *
 * @author Yujiaqi
 * @date 2021/9/14 13:58
 */
public interface ReportRightBacService {
    
    /**
     * 内部研报-新增收藏列表
     */
    void addRight(ReportRightVO reportRight);
    
    /**
     * 内部研报-研报权限表列表
     * @param reportRightQueryVO
     * @return
     */
    List<ReportRightDTO> listRight(ReportRightQueryVO reportRightQueryVO);
    
    /**
     * 内部研报-修改研报权限表
     * @param reportRightUpadteVO
     */
    void updateRight(ReportRightUpadteVO reportRightUpadteVO);
    
    /**
     * 内部研报-权限部门或人员搜索
     * @param reportRightUserOrDepartVO
     */
    List<ReportRightUserOrDepartDTO> queryUserOrDepartment(ReportRightUserOrDepartVO reportRightUserOrDepartVO);
}
